﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using LpbPrj.Client.Records.Dtos;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace LpbPrj.Client.Records
{
    public interface IRecordService : IApplicationService
    {
        Task<PagedResultDto<RecordListDto>> GetPaged(GetRecordsPaged input);

        Task<RecordListDto> GetById(EntityDto<long> input);

        Task<RecordEditDto> GetForEdit(NullableIdDto<long> input);

        Task<RecordListDto> CreateOrUpdate(RecordEditDto input);

        Task Delete(EntityDto<long> input);

        Task BatchDelete(List<long> input);

        Task BatchDeleteByPatientId(int input);

    }
}
